﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using control.Dal;

namespace control.Biz
{
    public class BizQuyen
    {
        private string maQuyen;

        public string MaQuyen
        {
            get { return maQuyen; }
            set { maQuyen = value; }
        }

       
        private string tenQuyen;

        public string TenQuyen
        {
            get { return tenQuyen; }
            set { tenQuyen = value; }
        }
        public BizQuyen(string _maQuyen, string _tenQuyen)
        {
            maQuyen = _maQuyen;
            tenQuyen = _tenQuyen;
        }

        public static BizQuyen GetByMa(string p)
        {
            return DalQuyen.GetByMa(p);
        }
    }
}
